package com.erp.entity.warehouse;

import java.math.BigDecimal;

public class QualityCheckDetail {
    private Integer id;

    private Integer goodId;

    private Integer batchId;

    private Integer batchOrSerial;

    private Integer qualityCheckId;

    private Integer parentId;

    private Integer companyId;

    private String remark;

    private Integer type;

    private Integer checkNum;

    private Integer checkPassNum;

    private Integer checkfailNum;

    private Integer houseId;

    private Integer unitId;

    private BigDecimal proCost;

    private String serialName;

    private Integer serialId;

    private QualityCheck QualityCheck;

    public com.erp.entity.warehouse.QualityCheck getQualityCheck() {
        return QualityCheck;
    }

    public void setQualityCheck(com.erp.entity.warehouse.QualityCheck qualityCheck) {
        QualityCheck = qualityCheck;
    }

    public String getSerialName() {
        return serialName;
    }

    public void setSerialName(String serialName) {
        this.serialName = serialName;
    }

    public Integer getSerialId() {
        return serialId;
    }

    public void setSerialId(Integer serialId) {
        this.serialId = serialId;
    }

    public BigDecimal getProCost() {
        return proCost;
    }

    public void setProCost(BigDecimal proCost) {
        this.proCost = proCost;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getGoodId() {
        return goodId;
    }

    public void setGoodId(Integer goodId) {
        this.goodId = goodId;
    }

    public Integer getBarchId() {
        return batchId;
    }

    public void setBarchId(Integer barchId) {
        this.batchId = barchId;
    }

    public Integer getBatchOrSerial() {
        return batchOrSerial;
    }

    public void setBatchOrSerial(Integer batchOrSerial) {
        this.batchOrSerial = batchOrSerial;
    }

    public Integer getQualityCheckId() {
        return qualityCheckId;
    }

    public void setQualityCheckId(Integer qualityCheckId) {
        this.qualityCheckId = qualityCheckId;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getCheckNum() {
        return checkNum;
    }

    public void setCheckNum(Integer checkNum) {
        this.checkNum = checkNum;
    }

    public Integer getCheckPassNum() {
        return checkPassNum;
    }

    public void setCheckPassNum(Integer checkPassNum) {
        this.checkPassNum = checkPassNum;
    }

    public Integer getCheckfailNum() {
        return checkfailNum;
    }

    public void setCheckfailNum(Integer checkfailNum) {
        this.checkfailNum = checkfailNum;
    }

    public Integer getHouseId() {
        return houseId;
    }

    public void setHouseId(Integer houseId) {
        this.houseId = houseId;
    }

    public Integer getUnitId() {
        return unitId;
    }

    public void setUnitId(Integer unitId) {
        this.unitId = unitId;
    }

    public Integer getBatchId() {
        return batchId;
    }

    public void setBatchId(Integer batchId) {
        this.batchId = batchId;
    }

    @Override
    public String toString() {
        return "QualityCheckDetail{" +
                "id=" + id +
                ", goodId=" + goodId +
                ", batchId=" + batchId +
                ", batchOrSerial=" + batchOrSerial +
                ", qualityCheckId=" + qualityCheckId +
                ", parentId=" + parentId +
                ", companyId=" + companyId +
                ", remark='" + remark + '\'' +
                ", type=" + type +
                ", checkNum=" + checkNum +
                ", checkPassNum=" + checkPassNum +
                ", checkfailNum=" + checkfailNum +
                ", houseId=" + houseId +
                ", unitId=" + unitId +
                ", proCost=" + proCost +
                '}';
    }
}